package com.xj.api.bussiness.registerLicense.service;

import com.xj.common.bussiness.registerLicense.entity.TbRegisterLicense;
import com.baomidou.mybatisplus.service.IService;
import com.xj.common.bussiness.registerLicense.entity.registerLicenseMould;
import com.xj.common.bussiness.transferLicense.entity.TbTransferLicense;
import org.apache.ibatis.annotations.Param;

import java.io.Serializable;
import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author Hmemb
 * @since 2018-01-12
 */
public interface ITbRegisterLicenseService extends IService<TbRegisterLicense> {
    /**
     * 根据普查表的条件查询转移表
     * @author zhaohai
     * @since 2018-01-31
     */
    TbTransferLicense searchTransferForRegister (TbRegisterLicense registerLicense);
    /**
     * 查询带照片的上户表
     * @param id
     * @return
     */
    TbTransferLicense searchRegisterLicenseAndImg(@Param("id") Integer id);

    /**
     * 根据设备牌号查询上户表
     * @param plateSubject
     * @return
     */
    TbRegisterLicense searchRegisterLicenseForPlateSubject(@Param("PlateSubject") String plateSubject);

    /**
     * 查询上户表里的所有字段
     * @param registerLicense
     * @return
     */
    List<registerLicenseMould> searchRegisterLicenseList(TbRegisterLicense registerLicense);
}
